package com.iterator.controller.wechat.lc;

import com.iterator.bean.web.pojo.BaseRespVo;
import com.iterator.bean.wechat.lc.WxFeedBackBo;
import com.iterator.service.wechat.lc.WxFeedbackServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("wx/feedback")
public class WxFeedbackController {
    @Autowired
    WxFeedbackServiceImpl wxFeedbackService;
    @RequestMapping("submit")
    public BaseRespVo submit(@RequestBody WxFeedBackBo feedBackBo){
        wxFeedbackService.submit(feedBackBo);
        return BaseRespVo.ok();
    }
}
